package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author: JW
 * @Description: TODO
 * @DateTime: 2022-02-10 21:02
 **/
public interface WmMaterialService extends IService<WmMaterial> {

    /**
     * @Author: JW
     * @Description:  TODO 图片上传
     * @Date: 10:49 2022-02-11
     * @Param: [multipartFile] 文件对象
     * @return: com.heima.model.common.dtos.ResponseResult
    **/
    ResponseResult uploadPicture(MultipartFile multipartFile);

    /**
     * @Author: JW
     * @Description:  TODO 素材列表
     * @Date: 11:12 2022-02-11
     * @Param: [wmMaterialDto]
     * @return: com.heima.model.common.dtos.ResponseResult
    **/
    ResponseResult getList(WmMaterialDto wmMaterialDto);

}
